package com.example.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

public class HomeBean implements MultiItemEntity {
    public static final int IMG = 1;
    public static final int TEXT = 2;

    private int type;
    private String itemName;

    public HomeBean(int type, String itemName) {
        this.type = type;
        this.itemName = itemName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    @Override
    public int getItemType() {
        return type;
    }
}
